package com.habdqn.studentmanager.bean.score;

import java.util.List;

import com.habdqn.studentmanager.bean.Bean;
import com.habdqn.studentmanager.bean.Student;

/**
 * 学生成绩列表
 * @author Fan
 * 
 * 2017年7月18日
 * 
 */
public class StudentScore extends Bean {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    private Student student;
    
    /**
     * 前7条考试数据，不足7条，去全部
     */
    private List<Score> topScores;
    
    private List<Score> scores;
    
    /**
     * 及格率
     */
    private float passRate;

    /**
     * @return the student
     */
    public Student getStudent() {
        return student;
    }

    /**
     * @return the scores
     */
    public List<Score> getScores() {
        return scores;
    }

    /**
     * @param student the student to set
     */
    public void setStudent(Student student) {
        this.student = student;
    }

    /**
     * @param scores the scores to set
     */
    public void setScores(List<Score> scores) {
        this.scores = scores;
    }

    /**
     * @return the topScores
     */
    public List<Score> getTopScores() {
        return topScores;
    }

    /**
     * @param topScores the topScores to set
     */
    public void setTopScores(List<Score> topScores) {
        this.topScores = topScores;
    }

    /**
     * @return the passRate
     */
    public float getPassRate() {
        return passRate;
    }

    /**
     * @param passRate the passRate to set
     */
    public void setPassRate(float passRate) {
        this.passRate = passRate;
    }
    
}
